package cn.bdqn.domain;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {
    private Integer id;

    private String openid;

    private String headimgurl;

    private String nickname;

    private String username;

    private Integer sex;

    private Date birthday;

    private String phone;

    private String idcard;

    private String city;

    private String area;

    private Integer status;

    private static final long serialVersionUID = 1L;

    public User() {
    }

    public User(String openid, String headimgurl, String nickname, Integer sex) {
        this.openid = openid;
        this.headimgurl = headimgurl;
        this.nickname = nickname;
        this.sex = sex;
    }

    public User(String openid, String headimgurl, String nickname, Integer sex, Date birthday, String area, String phone) {
        this.openid = openid;
        this.headimgurl = headimgurl;
        this.nickname = nickname;
        this.sex = sex;
        this.birthday = birthday;
        this.area = area;
        this.phone = phone;
    }

    public User(Integer id, String openid, String headimgurl, String nickname, Integer sex, Date birthday, String area, String phone) {
        this.id = id;
        this.openid = openid;
        this.headimgurl = headimgurl;
        this.nickname = nickname;
        this.sex = sex;
        this.birthday = birthday;
        this.area = area;
        this.phone = phone;
    }

    public User(String openid,String phone) {
        this.openid = openid;
        this.phone = phone;
    }

    public User(String openid, String username, String phone, String idcard, String area, Integer status) {
        this.openid = openid;
        this.username = username;
        this.phone = phone;
        this.idcard = idcard;
        this.area = area;
        this.status = status;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getHeadimgurl() {
        return headimgurl;
    }

    public void setHeadimgurl(String headimgurl) {
        this.headimgurl = headimgurl;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}